#include "Field.h"
#include <stdio.h>

void drawField(Field *pField) {
	if(pField->y % 2 == 1) {
		 if(pField->state == STATE_WHITE) 
			printf("O ");
		 else if(pField->state == STATE_BLACK)
			 printf("X ");
		 else
			 printf(". ");
		}
	else if(pField->y % 2 == 0) {
		 if(pField->state == STATE_WHITE) 
			printf(" O");
		 else if(pField->state == STATE_BLACK)
			 printf(" X");
		 else
			 printf(" .");

	}
}